<!DOCTYPE>
<html>
  <head>
    <title>观察者模式</title>
    <script src="./index.js"></script>
  </head>
  <body>
  <script>
    var cc = new Person('kakeem', 'http://baidu.com.cn');
    cc.alertUrl();
  </script
  </body>
</html>